import request from '@/utils/request'

//登录请求
export const loginService = (loginData) => {
  return request.post('/login', loginData)
}

export const getClassesAndColleges = () => {
  return request.get('/getClassesAndColleges')
}

export const getClassesByCollegeId = (collegeId) =>{
  return request.get(`/getClassesByCollegeId/${collegeId}`)
}

export const registerService = (registerData) => {
  return request.post('/register', registerData)
}

